package com.spbl.common;

import org.apache.shiro.crypto.hash.Md5Hash;

/**
 * Description(常量工具)
 * author: Gao xueyong
 * Create at: 2020/6/12 8:58 下午
 */
public class ConstantUtil {

    // 密码加密 散列两次
    public static final int hashIterations = 2;
    //加密类型  Md2Hash Md5Hash Sha1Hash Sha256Hash Sha384Hash Sha512Hash
    public static final String hashAlgorithmName = Md5Hash.ALGORITHM_NAME;
    //session 超时时间
    public static final long sessionTimeOut = 60000;
    //session检测超时时间
    public static final long sessionValidationInterval = 1800000;
}
